package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import com.hckjsec.common.utils.StringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 微信用户人员信息对象 applets_applicant_user
 * 
 * @author cyt
 * @date 2021-08-10
 */
public class AppletsApplicantUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** openid */
    @Excel(name = "openid")
    private String openid;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 是否是微信用户 */
    @Excel(name = "是否是微信用户")
    private String isself;

    /** 用户类型 1.用户 2.机构 */
    @Excel(name = "用户类型 1.用户 2.机构")
    private String usertype;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String borntime;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String certificatestype;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String certificatesnumber;

    /** 证件地址 */
    @Excel(name = "证件地址")
    private String certificatesaddr;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String corporationname;

    /** 判断用户是否契约锁认证 */
    @Excel(name = "判断用户是否契约锁认证")
    private String qysisuser;

    /** 邮箱 */
    @Excel(name = " 邮箱")
    private String mailbox;

    /** 数据来源 */
    @Excel(name = "数据来源")
    private String areatype;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    private String avatarurl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setIsself(String isself) 
    {
        this.isself = isself;
    }

    public String getIsself() 
    {
        return isself;
    }
    public void setUsertype(String usertype) 
    {
        this.usertype = usertype;
    }

    public String getUsertype() 
    {
        return usertype;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setBorntime(String borntime) 
    {
        this.borntime = borntime;
    }

    public String getBorntime() 
    {
        return borntime;
    }
    public void setCertificatestype(String certificatestype) 
    {
        this.certificatestype = certificatestype;
    }

    public String getCertificatestype() 
    {
        return certificatestype;
    }
    public void setCertificatesnumber(String certificatesnumber) 
    {
        this.certificatesnumber = certificatesnumber;
    }

    public String getCertificatesnumber() 
    {
        return certificatesnumber;
    }
    public void setCertificatesaddr(String certificatesaddr) 
    {
        this.certificatesaddr = certificatesaddr;
    }

    public String getCertificatesaddr() 
    {
        return certificatesaddr;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCorporationname(String corporationname) 
    {
        this.corporationname = corporationname;
    }

    public String getCorporationname() 
    {
        return corporationname;
    }
    public void setQysisuser(String qysisuser) 
    {
        this.qysisuser = qysisuser;
    }

    public String getQysisuser() 
    {
        return qysisuser;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public String getAvatarurl() {
        return avatarurl;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }

    public void setAreatype(String areatype)
    {
        this.areatype = areatype;
    }

    public String getAreatype()
    {
        return areatype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("isself", getIsself())
            .append("usertype", getUsertype())
            .append("name", getName())
            .append("gender", getGender())
            .append("borntime", getBorntime())
            .append("certificatestype", getCertificatestype())
            .append("certificatesnumber", getCertificatesnumber())
            .append("certificatesaddr", getCertificatesaddr())
            .append("phone", getPhone())
            .append("corporationname", getCorporationname())
            .append("qysisuser", getQysisuser())
            .append("operatortime", getOperatortime())
            .append("mailbox", getMailbox())
            .append("areatype", getAreatype())
            .toString();
    }
}
